< previous page page_367 next page >

Page 367
Creating Templates
When you select Project, Add Form or any of the Add menu items, youre typically presented with a Template dialog box that asks you for the kind of template you want to add. Youre allowed to add to this list of templates. Under the default folder for your Visual Basic 6 installation, youll find the \Template folder. Under this folder, youll find different folders for each of the different types of items you can add to a project. For example, theres the \Forms folder for different form templates and the \Classes folder for different class templates. If you design a form that you want to use in all your projects, you can simply copy that form to the \Forms folder, and it will then appear in the Template dialog box when you select Project, Add Form from the Visual Basic menu bar.
Summary
There are many keystrokes and mouse tricks you can use in the development environment. These tips and tricks should help you in your development efforts. I gathered this list from techniques I use and my employees use in our shop. For more information on keystrokes you can use in the IDE, check the Visual Basic Books Online.
Review Questions
1. Whats the hot key combination that brings up the Find dialog box?
2. Whats the hot key combination that brings up the Replace dialog box?
3. Which property sets the tab order of controls on a form?
4. Why would you use a bookmark?
5. Whats an add-in?
Exercises
1. Try some of the Format menu items on your forms.
2. Add the Comment and UnComment buttons to your Standard toolbar.

 
< previous page page_367 next page >

If you like this book, buy it!